﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Molic.Core.Controls;
using System.Windows.Input;

namespace Molic.Core.ActionHandlers
{
    /// <summary>
    /// This action handler is registered to execute the alignment of the selected objects
    /// using the positioning of the lowest object as a reference.
    /// </summary>
    class MolicAlignObjectsBottomActionHandler : IMolicActionHandler
    {
        #region IMolicActionHandler Members

        public ICommand Command
        {
            get { return MolicCanvas.AlignBottom; }
        }

        public void OnQueryEnabled(object sender, System.Windows.Input.CanExecuteRoutedEventArgs e)
        {
        }

        public void OnExecute(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
        {
        }

        #endregion
    }
}
